<?php
/**
 * Created by PhpStorm.
 * User: 嘉辉
 * Date: 2016-11-02
 * Time: 11:55
 */
$re = array("result" => -1, "msg" => "这是服务器显示的信息:验证失败");

$param = $_GET['param'];
if ($param == "123456") {
    $re["result"] = 1;
    $re['msg'] = "服务器验证成功";
}

echo json_encode($re);